package com.sh.rbac.core.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据权限枚举
 *
 * @author wb
 * @since 2025-05-16
 */

@Getter
@AllArgsConstructor
public enum DataScopeEnum {

    DATA_SCOPE_ALL(1, "所有数据权限"),
    DATA_SCOPE_CUSTOM(2, "自定义数据权限"),
    DATA_SCOPE_DEPT_AND_CHILD(3, "部门及以下数据权限"),
    DATA_SCOPE_DEPT(4, "部门数据权限"),
    DATA_SCOPE_SELF(5, "个人数据权限");


    private final Integer value;

    private final String desc;
}
